package com.example.bingwallpaper.logic.network

import okhttp3.OkHttpClient
import okhttp3.Request

object HttpUtil {

    fun senOkHttpRequest(address: String, callback: okhttp3.Callback) {
        val client = OkHttpClient()

        val request = Request.Builder()
                .url(address)
                .build()
        client.newCall(request).enqueue(callback)
    }

}